/**
 * Copyright (C) 2015-2018 IQIYI
 * All rights reserved.
 *
 * Author     : 王海斌
 * E-mail     : wanghaibin@qiyi.com
 * Version    :
 * Date       : Fri 22 Nov 2019 06:01:17 PM CST
 * Destription: 
 */

#include <stdio.h>

typedef struct test_s2 test_t2;

typedef struct test_s1
{
    int value;
    test_t2 * v2;
}test_t1;

struct test_s2
{
    int value2;
    test_t1 * v1;
};

int main()
{
    test_t1 t1;
   t1.value = 50;
    test_t2 t2;
    t1.v2 = &t2;
    t2.value2 = 100;
    t2.v1 = &t1;
    printf("mmm t1.value=%d, t1.v2=%p, t2.value=%d\n", t1.value, &t1.v2, t2.value2);
    return 0;
}
